﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UIV1
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void toolStripNhapKho_Click(object sender, EventArgs e)
        {
            var tabNhapKho = new TabPage("Danh sách hàng tồn kho");
            tabNhapKho.Controls.Add(new UC.AddProduct() { Dock = DockStyle.Fill });
            tabControl1.TabPages.Add(tabNhapKho);
        }

        private void toolStripXuatKho_Click(object sender, EventArgs e)
        {

        }

        private void toolStripBanHang_Click(object sender, EventArgs e)
        {

        }

        private void toolStripCloseTab_Click(object sender, EventArgs e)
        {

        }

        private void productInfoMenuI2_Click(object sender, EventArgs e)
        {
            var tabNhapKho = new TabPage("Thông tin sản phẩm");
            tabNhapKho.Controls.Add(new UC.ThôngTinSanPham() { Dock = DockStyle.Fill });
            tabControl1.TabPages.Add(tabNhapKho);
        }
    }
}
